﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using Entidades;
using System.Collections;
using System.Drawing;
using DAO;
using System.Data.SqlClient;
public partial class P_vistaProfesor : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string nom = Session["user"].ToString();
        dgvClasesXProfe.DataSource = VistaProfesorDAO.obtenerClasesXProfesor(nom);
        dgvClasesXProfe.DataKeyNames = new string[] { "Id" };
        dgvClasesXProfe.DataBind();
    }


}